import * as React from '../expressExt/MyReact'
import {Layout} from "./Layout";

export class ViewError {
    static netError(msg:string) {
        return (
            "<!DOCTYPE html>" +
            <html>
            <head>
                <title>
                    {Layout.title} - 网络异常
                </title>
                <link rel="stylesheet" href="/css/style.css"/>
                <body>
                <h1 class="back_red">{msg}</h1>
                <h2 class="back_yellow">
                    网络异常,请重新操作!
                </h2>
                </body>
            </head>
            </html>

        )
    }
}